//
//  BJJingPinKeTangTabelViewCell.m
//  DangXiao
//
//  Created by APPLE on 16/12/6.
//  Copyright © 2016年 APPLE. All rights reserved.
//

#import "BJJingPinKeTangTabelViewCell.h"

@implementation BJJingPinKeTangTabelViewCell

-(void)initUI{
    
    _button1 = [[BJShiPinButton alloc]init];
    [self addSubview:_button1];
    [_button1 mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(BILIHEIGHT(10));
        make.left.mas_equalTo(BILIWIDTH(10));
        make.size.mas_equalTo(CGSizeMake((ScreenWidth - BILIWIDTH(30)) / 2, BILIHEIGHT(90 * 1.8)));
    }];
    
    _button2 = [[BJShiPinButton alloc]init];
    [self addSubview:_button2];
    [_button2 mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_button1);
        make.right.mas_equalTo(-BILIWIDTH(10));
        make.size.equalTo(_button1);
    }];
    
    _button3 = [[BJShiPinButton alloc]init];
    [self addSubview:_button3];
    [_button3 mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-BILIHEIGHT(10));
        make.left.equalTo(_button1);
        make.size.equalTo(_button1);
    }];

    _button4 = [[BJShiPinButton alloc]init];
    [self addSubview:_button4];
    [_button4 mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(_button3);
        make.right.mas_equalTo(-BILIWIDTH(10));
        make.size.equalTo(_button1);
    }];
}

@end
